package com.situ.springboot.mapper;

import com.situ.springboot.pojo.entity.Comment;
import com.situ.springboot.pojo.vo.CommentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<CommentVO> selectByPage(int offset, Integer pageSize);

    int selectTotalCount();

    void deleteById(Integer id);

    void deleteAll(Integer[] ids);

    void add(Comment comment, Integer customId1);
}
